package com.ygqh.baby.service;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.model.WeixinMessageModel;
import com.ygqh.baby.po.YgWeixinMessage;

import java.util.List;

public interface YgWeixinMessageService {

	List<YgWeixinMessage> find();

	int findCount();

	YgWeixinMessage findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgWeixinMessage ygWeixinMessage);

	int update(YgWeixinMessage ygWeixinMessage);

	int saveOrUpdate(YgWeixinMessage ygWeixinMessage);

	ResultSet<YgWeixinMessage> search(QueryInfo queryInfo, String q);

	List<WeixinMessageModel> findWeixinMessageList();

	YgWeixinMessage findByTemplate(String templateTitle);

	List<WeixinMessageModel> findSmallMessageList(String platformNo);
}
